package games.charly 
{
	import org.flixel.FlxSprite;
	
	/**
	 * ...
	 * @author Jacowaco
	 */
	public class Energy extends FlxSprite 
	{
		[Embed(source = "../../../assets/charly/Merca.png")] private var img1:Class;
		[Embed(source = "../../../assets/charly/whisky.png")] private var img2:Class;
		
		public function Energy(_x:Number=0, _y:Number=0) 
		{
			var type:Class;
			
			if (Math.random() < 0.5)
			{
				type = img1;
			}
			else
			{
				type = img2;
			}
			super(_x, _y, type);
		}
		
	}

}